/**
 * 
 */
package com.gshine.brandstory;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

/**
 * @author zhanfeng.gss
 * @date 2012-11-5
 */
public class Hello extends AbstractController {

	@Override
	protected ModelAndView handleRequestInternal(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		Date now = new Date();
		Map<String, Object> model = new HashMap<String, Object>();
		model.put("now", now);
		return new ModelAndView("hello", model);
	}

}
